projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782d325
)
(XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 22 Jul 2008 03:01:12 +0000
(
03:01
+0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 22 Jul 2008 03:01:12 +0000
(
03:01
+0000)
src/macterm.c
patch
|
blob
|
history
diff --git
a/src/macterm.c
b/src/macterm.c
index f73050788c20393406378b2f2f01ce0d788c75f5..8a0b2d61846801b8855b70339802bc94c396e498 100644
(file)
--- a/
src/macterm.c
+++ b/
src/macterm.c
@@
-422,10
+422,7
@@
XDrawLine (display, p, gc, x1, y1, x2, y2)
color_space = NULL;
alpha_info = kCGImageAlphaOnly;
}
- if (color_space == NULL)
- return;
- context = CGBitmapContextCreate (ximg->data, ximg->width,
- ximg->height, 8,
+ context = CGBitmapContextCreate (ximg->data, ximg->width, ximg->height, 8,
ximg->bytes_per_line, color_space,
alpha_info);
if (ximg->bits_per_pixel == 32)